﻿using System.Collections.Generic;
namespace Libium.UseCases
{
	public static class  IUseCaseInstanceServiceExtension
	{
		public static void Information(this IUseCaseInstanceService service, string message)
		{
			service.Message(message, MessageType.Information, new ICommand[] { StandardCommands.OkCommand });
		}

		public static void Warning(this IUseCaseInstanceService service, string message)
		{
			service.Message(message, MessageType.Warning, new ICommand[] { StandardCommands.OkCommand });
		}

		public static MessageCommand WarningWithOkCancel(this IUseCaseInstanceService service, string message)
		{
			return service.Message(message, MessageType.Warning, new ICommand[] { StandardCommands.OkCommand, StandardCommands.CancelCommand });
		}

		public static void Error(this IUseCaseInstanceService service, string message)
		{
			
		}

		public static MessageCommand ErrorWithOkCancel(this IUseCaseInstanceService service, string error)
		{
			
		}

		public static MessageCommand ErrorWithRetryCancel(this IUseCaseInstanceService service, string error)
		{
			
		}

		public static MessageCommand ErrorWithAbortRetryIgnore(this IUseCaseInstanceService service, string error)
		{
			
		}

		public static MessageCommand QuestionWithYesNo(this IUseCaseInstanceService service, string question, bool defaultYes = true)
		{
			
		}

		public static MessageCommand QuestionWithYesNoCancel(this IUseCaseInstanceService service, string question, bool defaultYes = true)
		{
			
		}
	}
}